1 package junit.quilt.cover.generic;
2
3 /***
4 * LabeledNOP
5 *
6 * This is an extension of the NOP
7 * which basically provides a label
8 * to ensure things go where they
9 * are supposed to go. . .
10 */
11
12 import org.apache.bcel.generic.*;
13
14 public class LabeledNOP
15 extends NOP
16 {
17 private String label = null;
18
19 public LabeledNOP(String label) {
20 this.label = label;
21 }
22
23 public String toString(boolean verbose) {
24 if (verbose) {
25 return super.toString(true) + "\t{" + label + "}";
26 } else {
27 return toString();
28 }
29 }
30 }
This page was automatically generated by Maven